package com.wn32.main.demo9;

public class Main {
    public static void main(String[] args) {
        MyService ms = new MyService();
        Thread th1=new Thread(()->{
            ms.m1();
        },"线程一");
        Thread th2=new Thread(()->{
            ms.m2();
        },"线程二");
        th1.start();
        th2.start();
    }
}
